package com.zhy.sping.service.impl;

import com.zhy.sping.dao.SearchHistoryDao;
import com.zhy.sping.service.intf.SearchHistoryService;
import com.zhy.sping.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SearchHistoryServiceImpl  implements SearchHistoryService {
    @Autowired
    private SearchHistoryDao dao;
    @Override
    public R selectByUid(int uid) {
        return R.ok("ok",dao.selectByUid(uid));
    }
}
